import {ADD_COUNT, DECREASE_COUNT, RESET_COUNT} from "@/store/constants";

export default {
  [ADD_COUNT]: state => {
    state.count += 1;
  },
  [DECREASE_COUNT]: state => {
    state.count -= 1;
  },
  [RESET_COUNT]: state => {
    state.count = 0;
  }
}
